<?php Asset::container('front')->add('front_css', 'css/front/index.css');?>
<?php
$cname = Config::get('option.site.cname');
$description = Config::get('option.site.description');
$title = "{$cname}-{$description}";
$meta = array();
$meta['keywords'] = Config::get('option.site.keywords', '');
$meta['description'] = $description;
?>
<?php echo View::make('share.front_header')->with('css', array('front'))->with('title', $title)->with('meta', $meta);?>
<?php echo View::make('share.front_nav')->with('collections', $collections)->with('cid', 0)?>
<div id="wrap" class='container' style='margin-top:10px;'>
<?php 
foreach ($collections as $k => $c) {
?>
<span class='label' style='background-color:#4b4b93;font-size:18px;'><?php echo $c->name;?></span>
<?php 
  if ($k%2 == 0){
    echo View::make('front.index.left')->with('collection', $c);
  } else {
    echo View::make('front.index.right')->with('collection', $c);
  }
}
?>
</div>
<?php Asset::container('front')->add('front_script', 'js/front/index.js');?>
<?php Asset::container('front')->add('front_script', 'http://v3.jiathis.com/code_mini/jiathis_r.js?uid=1350809600080348&type=left&amp;move=0&amp;btn=l3.gif');?>
<?php echo View::make('share.front_footer')->with('script', array('front'));?>
